﻿<%<Hi:Common_Header runat="server"  />%>

<script src="http://res.juseshop.com/utility/validate/pagevalidator.js" type="text/javascript"></script>
<form runat="server">
<div class="main">
<div class="message_nav"><a href="url:home">首页</a> > 填写注册信息</div>
	<!--页面位置导航_end-->

	<!--注册填写信息_start-->
	<div class="registeragreement_fx">
	<h4  class="martb">请如实填写以下申请信息：</h4>
		<%<Hi:SmallStatusMessage id="Status" runat="server" Visible="False" />%>
		<ul><table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
          <tr>
            <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                <ul>
                  <li class="title">分销商名称：<em>*</em></li>
                  <li>
                    <asp:TextBox ID="txtUserName" runat="server" CssClass="Skin_RegisterInput" /> <span id="txtUserNameTip" runat="server"></span>			             
                  </li>
                </ul>
              </div>
			   
            </td>
          </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">电子邮件： <em>*</em></li>
                    <li>
                       <asp:TextBox ID="txtEmail" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtEmailTip" runat="server"></span> 
                    </li>
                  </ul>
              </div>     
              </td>                          
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">登录密码： <em>*</em></li>
                    <li>
                      <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" CssClass="Skin_RegisterInput1" /> <span id="txtPasswordTip" runat="server"></span>
                    </li>
                  </ul>
              </div>                 
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">重复登录密码： <em>*</em></li>
                    <li>
                      <asp:TextBox ID="txtPasswordCompare" runat="server" TextMode="Password" CssClass="Skin_RegisterInput1" /> <span id="txtPasswordCompareTip" runat="server"></span>
                    </li>
                  </ul>
              </div>              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                <ul>
                  <li class="title">交易密码： <em>*</em></li>
                  <li>
                    <asp:TextBox ID="txtTransactionPassword" runat="server" TextMode="Password" CssClass="Skin_RegisterInput1" /> <span id="txtTransactionPasswordTip" runat="server"></span>
                  </li>
                </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">重复交易密码：<em>*</em> </li>
					<li class="bTopPadding5">
					  <asp:TextBox ID="txtTransactionPasswordCompare" runat="server" TextMode="Password"  CssClass="Skin_RegisterInput1" /> <span id="txtTransactionPasswordCompareTip" runat="server"></span>
					</li>
                  </ul>
              </div>              
              </td>
            </tr>
          </table>
	<h4  class="martb">详细信息：</h4>
		  <div class="Skin_Register_xy2"></div>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">真实姓名： </li>
                    <li>
                      <asp:TextBox ID="txtRealName" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtRealNameTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
             
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">公司名： </li>
                    <li>
                      <asp:TextBox ID="txtCompanyName" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtCompanyNameTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">地区： </li>
                    <li>
                      <Hi:RegionSelector runat="server" ID="dropRegion" />
                    </li>
                  </ul>
              </div></td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">详细地址： </li>
                    <li>
                      <asp:TextBox ID="txtAddress" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtAddressTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">邮编： </li>
                    <li>
                      <asp:TextBox ID="txtZipcode" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtZipcodeTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <div class="regstepalert">提示：QQ,旺旺,MSN,三者必填其一</div>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">QQ： </li>
                    <li>
                      <asp:TextBox ID="txtQQ" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtQQTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">旺旺： </li>
                    <li>
                      <asp:TextBox ID="txtWangwang" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtWangwangTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">MSN： </li>
                    <li>
                      <asp:TextBox ID="txtMSN" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtMSNTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <div class="regstepalert">提示：固定电话和手机,二者必填其一</div>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">固定电话： </li>
                    <li>
                      <asp:TextBox ID="txtTelPhone" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtTelPhoneTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">手机： </li>
                    <li>
                      <asp:TextBox ID="txtCellPhone" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtCellPhoneTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
	<h4  class="martb">高级设置：</h4>
		  <div class="Skin_Register_xy2"></div>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">密保问题： </li>
                    <li>
                      <asp:TextBox ID="txtPasswordQuestion" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtPasswordQuestionTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
             
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">密保答案： </li>
                    <li>
                      <asp:TextBox ID="txtPasswordAnswer" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtPasswordAnswerTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
             
              </td>
            </tr>
          </table>
		  <div class="Skin_Register_xy">
		  </div>
		  <div style=" padding-left:140px; padding-top:10px;">
		 <%<asp:Button ID="btnOK" Text="提交注册" runat="server"  CssClass="btncss_next"  />%> 
 
		  </div>
		</ul>
	</div>
	<div class="aClear"></div>
	<script type="text/javascript" language="javascript">
	    function InitValidators() {
	        initValid(new InputValidator('distributorsRegister_txtUserName', 2, 60, false, null, '用户名不能为空，长度限制在2-60个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtEmail', 1, 256, false, '[\\w-]+(\\.[\\w-]+)*@[\\w-]+(\.[\\w-]+)+', '请输入正确电子邮件，长度在1-256个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtPassword', 6, 20, false, null, '密码不能为空，长度在6-20个字符之间'));
	        initValid(new CompareValidator('distributorsRegister_txtPasswordCompare', 'distributorsRegister_txtPassword', '两次输入的密码不一致请重新输入'));
	        initValid(new InputValidator('distributorsRegister_txtTransactionPassword', 6, 20, false, null, '交易密码不能为空，长度在6-20个字符之间'));
	       	initValid(new InputValidator('distributorsRegister_txtTransactionPasswordCompare', 6, 20, false, null, '重复交易密码不能为空，长度在6-20个字符之间'));
	        initValid(new CompareValidator('distributorsRegister_txtTransactionPasswordCompare', 'distributorsRegister_txtTransactionPassword', '两次输入的交易密码不一致请重新输入'));
	        initValid(new InputValidator('distributorsRegister_txtRealName', 0, 20, true, null, '真实姓名必须控制在20个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtCompanyName', 0, 60, true, null, '公司名称必须控制在60个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtAddress', 0, 100, true, null, '街道地址必须控制在100个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtZipcode', 3, 20, true, '^[0-9]*$', '邮政编码长度限制在3-20个字符之间，只能输入数字'));
	        initValid(new InputValidator('distributorsRegister_txtQQ', 3, 20, true, '^[0-9]*$', 'QQ号长度限制在3-20个字符之间，只能输入数字'));
	        initValid(new InputValidator('distributorsRegister_txtWangwang', 0, 20, true, null, '旺旺号必须控制在20个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtMSN', 1, 256, true, '([a-zA-Z\\.0-9_-])+@([a-zA-Z0-9_-])+((\\.[a-zA-Z0-9_-]{2,3}){1,2})', '请输入正确MSN帐号，长度在1-256个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtTelPhone', 3, 20, true, '^[0-9-]*$', '电话号码长度限制在3-20个字符之间，只能输入数字和字符“-”'));
	        initValid(new InputValidator('distributorsRegister_txtCellPhone', 3, 20, true, '^[0-9]*$', '手机号码长度限制在3-20个字符之间,只能输入数字'));
	        initValid(new InputValidator('distributorsRegister_txtPasswordQuestion', 0, 20, true, null, '密保问题必须控制在20个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtPasswordAnswer', 0, 20, true, null, '密保答案必须控制在20个字符以内'));
	    }
	    $(document).ready(function() {
	        InitValidators();
	        $("#distributorsRegister_btnOK").click(function() {
	            if(!PageIsValid()){
	                alert("部分信息没有通过检验，请查看页面提示");
	                return false;
	            }
	            if ($("#distributorsRegister_txtQQ").val() == "" && $("#distributorsRegister_txtWangwang").val() == "" && $("#distributorsRegister_txtMSN").val() == "") {
	                alert("QQ,旺旺,MSN,三者必填其一")
	                return false;
	            }
	            if ($("#distributorsRegister_txtTelPhone").val() == "" && $("#distributorsRegister_txtCellPhone").val() == "") {
	                alert("固定电话和手机,二者必填其一")
	                return false;
	            }
	        });
	    });
</script>
</div>
</form>
<%<Hi:Common_Footer runat="server"   />%>
